import { MessageResultDto } from '@/gql/graphql'
import { Tag } from 'antd'

const BehaviotLabel = ({ message }: { message: MessageResultDto }) => {
  return (
    <>
      <div style={{ textAlign: 'center' }}>
        <Tag
          bordered={false}
          color="#E0EAFF"
          style={{
            color: '#0256FF',
            width: '220px',
            height: '27px',
            lineHeight: '27px',
            textAlign: 'center',
            borderRadius: '50px',
            cursor: 'pointer',
            margin: '8px 0px',
          }}
        >
          {message.content}
        </Tag>
      </div>
    </>
  )
}

export default BehaviotLabel
